public class HomeWork01154 {

    public static void main(String[] args) {
        int month = 7; // 示例月份

        switch (month) {
            case 1:
            case 2:
            case 12:
                System.out.println("冬季");
                break;
            case 3:
            case 4:
            case 5:
                System.out.println("春季");
                break;
            case 6:
            case 7:
            case 8:
                System.out.println("夏季");
                break;
            case 9:
            case 10:
            case 11:
                System.out.println("秋季");
                break;
            default:
                System.out.println("无效的月份");
                break;
        }

        // 判断是否是假期月份
        switch (month) {
            case 1:
            case 7:
            case 8:
                System.out.println(month + "月是假期月份");
                break;
            default:
                System.out.println(month + "月不是假期月份");
                break;
        }
    }
}
